package org.hpm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.hpm.entity.HpmCategory;
import org.hpm.vo.HpmCategoryVO;

import java.util.List;

/**
 * @description: 商品分类表
 * @author: jacklin
 * @date: 2021-12-02
 * @version: V1.0
 */
public interface HpmCategoryMapper extends BaseMapper<HpmCategory> {

    /**
     * 获取子分类信息
     *
     * @author: jacklin
     * @since 2022/9/3 15:23
     **/
    List<HpmCategoryVO> getSubCatList(@Param("rootCatId") Integer rootCatId);
}
